package com.hulk.dryad.web.api.vo;

import com.hulk.dryad.web.api.vo.base.ReqVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author  lqx
 * @date 2020/10/20
 * 客户验证码登录req
 */
@ApiModel(value = "客户验证码登录")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class CustomerSMSLoginReqVO extends ReqVO {
    /**
     * 登录用户名
     */
    @NotBlank(message = "登录用户名不能为空;")
    @ApiModelProperty(value = "登录用户名", required = true)
    private String loginNo;

	/**
	 * 用户登录类型
	 */
	@NotBlank(message = "用户登录类型不能为空;")
	@ApiModelProperty(value = "用户登录类型不能为空", required = true)
	private String loginType;
    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空;")
    @ApiModelProperty(value = "验证码", required = true)
    private String smsCode;
    /**
     * 终端序列号
     */
    @ApiModelProperty(value = "终端序列号", required = false)
    private String imei;

}
